package oo.day05;

public class Something {
    public static void main(String[] args) {
        Other o = new Other();
        Other o1 = new Other();
        new Something().addOne(o);
        new Something().addOne(o1);
    }
    public void addOne(final Other o){
//        o = new Other();
//        引用跟基本类型一样 不能改变了
        System.out.println(o.i);
    }
}
